package com.zl.enums
{
	import mx.collections.ArrayCollection;
	
	public class PckModuleType
	{
		public static const TestDate:PckModuleType = new PckModuleType("日期", "testDate");
		public static const PRODUCTID:PckModuleType = new PckModuleType("工件号", "productId");
		public static const PCKE:PckModuleType = new PckModuleType("空车心盘载荷", "pcke");
		public static const PCKF:PckModuleType = new PckModuleType("重车心盘载荷", "pckf");
		public static const K1:PckModuleType = new PckModuleType("弹性旁承预压缩量", "k1");
		public static const K2:PckModuleType = new PckModuleType("旁承弹性体垂向刚度", "k2");
		public static const K3:PckModuleType = new PckModuleType("车体自重", "k3");
		
		
		[Bindable] public static var PckeModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,PCKE,K1,K2,K3]);
		
		[Bindable] public static var PckfModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID, PCKF,K1,K2,K3]);
		
		public function PckModuleType(n:String, v:String)
		{
			this._text = n;
			this._field = v;
		}
		
		private var _text:String;
		private var _field:String;
		
		public function get text():String
		{
			return _text;
		}
		public function get field():String
		{
			return _field;
		}
	}
}